<template>
  <div class="download">
    <div class="container">
      <div class="bread">
        <el-breadcrumb separator="/" class="datails_nav">
          <el-breadcrumb-item :to="{ path: '/' }">
            <el-icon><HomeFilled /></el-icon>首页</el-breadcrumb-item
          >
          <el-breadcrumb-item>下载专区</el-breadcrumb-item>
        </el-breadcrumb>
      </div>
    </div>

    <div class="down">
      <h1>下载专区</h1>
      <div class="downbox">
        <div class="downitem pointer">
          <a
            href="/wordfile/技术咨询合同.doc"
            download="/wordfile/技术咨询合同.doc"
            >技术咨询合同.doc</a
          >
        </div>
        <div class="downitem pointer">
          <a
            href="/wordfile/技术开发（合作）合同.doc"
            download="/wordfile/技术开发（合作）合同.doc"
            >技术开发（合作）合同.doc</a
          >
        </div>
        <div class="downitem pointer">
          <a
            href="/wordfile/技术开发（委托）合同.doc"
            download="/wordfile/技术开发（委托）合同.doc"
            >技术开发（委托）合同.doc</a
          >
        </div>
        <div class="downitem pointer">
          <a
            href="/wordfile/技术转让（技术秘密）合同.doc"
            download="/wordfile/技术转让（技术秘密）合同.doc"
            >技术转让（技术秘密）合同.doc</a
          >
        </div>
        <div class="downitem pointer">
          <a
            href="/wordfile/技术转让（专利权）合同.doc"
            download="/wordfile/技术转让（专利权）合同.doc"
            >技术转让（专利权）合同.doc</a
          >
        </div>
        <div class="downitem pointer">
          <a
            href="/wordfile/技术转让（专利实施许可）合同.doc"
            download="/wordfile/技术转让（专利实施许可）合同.doc"
            >技术转让（专利实施许可）合同.doc</a
          >
        </div>
        <div class="downitem pointer">
          <a
            href="/wordfile/技术服务合同.doc"
            download="/wordfile/技术服务合同.doc"
            >技术服务合同.doc</a
          >
        </div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import bus from "@/utils/bus";
import myinfo from "@/setting";
import search from "./search.vue";
import { ref } from "vue";
import { ArrowRight, HomeFilled } from "@element-plus/icons-vue";
const current = ref(0);
const getSonValue = (e: any) => {
  console.log(e); //子组件传入的值
};

const toclick = () => {
  let token = localStorage.getItem("token");
  if (token) {
    window.open(myinfo.backurl + token, "_blank");
  } else {
    bus.emit("Amessage", true);
  }
};
const changeitem = (e: number) => {
  current.value = e;
};
</script>
<style lang="scss" scoped>
.download {
  h1 {
    font-size: 42px;
    font-family: PingFang SC;
    font-weight: 500;
    line-height: 48px;
    margin: 0;
    margin-bottom: 52px;
    text-align: center;
  }
  .container {
    font-size: 16px;
    width: 1400px;
    margin: 0 auto;
    font-family: Microsoft YaHei;
  }

  .down {
    width: 1400px;
    box-sizing: border-box;
    margin: 0px auto;
    p {
      font-size: 20px;
      font-weight: bold;
    }
    .downbox {
      width: 100%;
      box-shadow: 0 3px 16px rgba(0, 0, 0, 0.08);
      margin-bottom: 60px;
      padding: 30px 160px;
      // display: flex;
      // flex-wrap: wrap;
      // justify-content: space-around;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      .downitem {
        font-size: 16px;
        width: 100%;
        position: relative;
        margin: 30px 0px;

        &::before {
          position: absolute;
          content: "";
          width: 10px;
          height: 10px;
          border: 1px solid #000;
          border-radius: 50%;
          left: -20px;
          top: 5px;
        }
      }
      .active {
        color: $text-color;
        &::before {
          position: absolute;
          content: "";
          width: 10px;
          height: 10px;
          border: 1px solid $text-color;
          border-radius: 50%;
          left: -20px;
          top: 5px;
        }
      }
    }
  }
}
</style>
